package com.zhoutian.dao;

import com.zhoutian.entity.Key;
import com.zhoutian.entity.Message;
import com.zhoutian.entity.MessageRequest;
import com.zhoutian.entity.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SearchRecruitmentInfoDAO {
    public List<Message> findAll();

    public List<Message> findByPageSizeAndPageNum(Page page);

    Integer findMessageTotal();

    List<Message> findByKeyMessageList(MessageRequest messageRequest);

    Integer findByKeyPageTotal(String key);
}
